package com.meida.module.admin.provider.mapper;

import com.meida.common.mybatis.base.mapper.SuperMapper;
import com.meida.module.admin.client.entity.BaseUserDept;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zyf
 */
@Repository
public interface BaseUserDeptMapper extends SuperMapper<BaseUserDept> {
    /**
     * 查询用户已分配部门
     * @param userId
     * @return
     */
    List<Long> selectUserDeptIds(Long userId);
}
